package com.yoki.cloud.common.model.enums;

/**
 * 区域类别：country：国家,Province：省份、直辖市,city：地市，district：区县
 */
public enum EnumRegionType implements AbstractEnum {

    nation(0, "国家"),
    specialAdministrativeRegion(1, "特别行政区"),
    province(2, "省份"),
    provinceLevelMunicipality(3, "直辖市"),
    city(4, "地市"),
    district(5, "区"),
    country(6, "县");

    private int code;
    private String msg;

    EnumRegionType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}
